package GUI;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.JTextField;

public class ClearActionListener implements ActionListener {

	private JTextField expression;
	
	public ClearActionListener(JTextField expression2) {
		this.expression=expression2;
	}

	@Override
	public void actionPerformed(ActionEvent arg0) {
			expression.setText("");
	}

}
